<template>
	<view class="container" :style="{'height': height + 'rpx'}">
		<view class="content"></view>
		<slot></slot>
	</view>
</template>

<script>
	export default {
		name: "tab-bar",
		data() {
			return {
			}
		},
		props: {
			height: {
			  type: Number,
			  value: 100
			}
		},
		mounted() {
		},
		methods: {
		}
	};
</script>

<style lang="scss" scoped>
	.container{
		position: relative;
		overflow: hidden;
		.content{
			position: absolute;
			left: 50%;
			bottom: 0;
			transform: translateX(-50%);
			width: 100%;
			height: 100%;
			border-radius: 0 0 28% 28%;
			background: linear-gradient(-90deg, #ED602B, #F19136);
		}
	}
</style>
